home *** CD-ROM | disk | FTP | other *** search
- #
- # (C) Tenable Network Security
- #
- #
- # The text of this plugin is (C) Red Hat Inc.
-
- if ( ! defined_func("bn_random") ) exit(0);
- if(description)
- {
- script_id(12486);
- script_version ("$Revision: 1.3 $");
- script_cve_id("CAN-2004-0179");
-
- name["english"] = "RHSA-2004-157: cadaver";
-
- script_name(english:name["english"]);
-
- desc["english"] = '
-
- An updated cadaver package that fixes a vulnerability in neon exploitable
- by a malicious DAV server is now available.
-
- cadaver is a command-line WebDAV client that uses inbuilt code from neon,
- an HTTP and WebDAV client library.
-
- Versions of the neon client library up to and including 0.24.4 have been
- found to contain a number of format string bugs. An attacker could create
- a malicious WebDAV server in such a way as to allow arbitrary code
- execution on the client should a user connect to it using cadaver. The
- Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned
- the name CAN-2004-0179 to this issue.
-
- Users of cadaver are advised to upgrade to this updated package, which
- contains a patch correcting this issue.
-
-
-
-
- Solution : http://rhn.redhat.com/errata/RHSA-2004-157.html
- Risk factor : High';
-
- script_description(english:desc["english"]);
-
- summary["english"] = "Check for the version of the cadaver packages";
- script_summary(english:summary["english"]);
-
- script_category(ACT_GATHER_INFO);
-
- script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
- family["english"] = "Red Hat Local Security Checks";
- script_family(english:family["english"]);
-
- script_dependencies("ssh_get_info.nasl");
-
- script_require_keys("Host/RedHat/rpm-list");
- exit(0);
- }
-
- include("rpm.inc");
- if ( rpm_check( reference:"cadaver-0.22.0-2.1", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
-
- if ( rpm_exists(rpm:"cadaver-", release:"RHEL2.1") )
- {
- set_kb_item(name:"CAN-2004-0179", value:TRUE);
- }
-
- set_kb_item(name:"RHSA-2004-157", value:TRUE);
-